One Sentence Recognition
Function:
speech.asr(voice)Description: recognize a sentence
Required parameter:
- voice: voice data after BASE64 conversion
- Return:
- asr_data: recognized text of voice data
Example
voice = xxx asr_data = speech.asr(voice=voice) print(asr_data)Recognize voice data and output the recognized text.